
Новые сообщения [новые:0]
Дайджест
Горячие темы
Избранное [новые:0]
Форумы
Пользователи
Статистика
Статистика нагрузки
Мод. лог
Поиск
|
|
13.11.2005, 17:04
|
|||
|---|---|---|---|
|
|||
Указатели, вызов crystal report и экспорт |
|||
|
#18+
1) Есть ли возможность загнать в структуру указатель Надо так: C Syntax typedef struct PEExportOptions { WORD StructSize; char formatDLLName [PE_DLL_NAME_LEN]; DWORD formatType; void FAR *formatOptions; char destinationDLLName [PE_DLL_NAME_LEN]; DWORD destinationType; void FAR *destinationOptions; WORD nFormatOptionsBytes; WORD nDestinationOptionsBytes; } PEExportOptions; 2) Кто нибудь Crystal Report вызывал c прямым экспортом в файл? Взамен этого можно пользоваться функцией НО что значат эти опции c четвертого аргумента? crPEExportToDisk (nPrintJob,'c:\cr.xls','crxf_xls.dll',1,0,0,'','') ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|
14.11.2005, 13:48
|
|||
|---|---|---|---|
|
|||
Указатели, вызов crystal report и экспорт |
|||
|
#18+
www.google.com > crPEExportToDisk По первой же ссылке : Knowledge Base crPEExportToDisk ------------------------- Refer to crPEExportToDisk in the Developer's Help file (developr.hlp) for an arugment listing. Note that the last four arguments for crPEExportToDisk are missing from the Developer's Help file. They are listed here: UseNumFormat: Indicates whether to use the number format (such as decimal places, negatives) specified in the report. Pass 1 for True to use the report formatting, or 0 for False to optimize the number format according to the export format selected. Only applies to certain exporting formats. UseDateFormat: Indicates whether to use the date format (such as MDY, DMY) specified in the report. Pass 1 for True to use the report formatting, or 0 for False to optimize the date format according to the export format selected. Only applies to certain exporting formats. StringDelimiter: Specifies the character you want to use to enclose alphanumeric field data in the character separated values format. Only applies to character separated values format. FieldDelimiter: Specifies the string you want to use to separate the fields in the character separated values format. Only applies to character separated values format. Надо за поиск в Гугле начинать деньги брать. Столько людей не могут в поисковике ключевое слово набрать! Это ж золотое дно!!! Зорин А. "I love deadlines. I like the whooshing sound they make as they fly by." -- Douglas Adams ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|
14.11.2005, 14:01
|
|||
|---|---|---|---|
|
|||
Указатели, вызов crystal report и экспорт |
|||
|
#18+
AVGritsenko typedef struct PEExportOptions { WORD StructSize; char formatDLLName [PE_DLL_NAME_LEN]; DWORD formatType; void FAR *formatOptions; char destinationDLLName [PE_DLL_NAME_LEN]; DWORD destinationType; void FAR *destinationOptions; WORD nFormatOptionsBytes; WORD nDestinationOptionsBytes; } PEExportOptions; Не надо ничего никуда загонять. Надо объявить структуру внутреннюю и прописать ее как элемент структуры внешней. Примерно так: Код: plaintext 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|
14.11.2005, 16:42
|
|||
|---|---|---|---|
|
|||
Указатели, вызов crystal report и экспорт |
|||
|
#18+
ТЕ тип данных элемента структуры - структура создаем экземпляр этой структуры приваиеваем элементу ЭТО И БУДЕТ УКАЗАТЕЛЬ? Я тоже так думаю только не работает, поэтому про конкретный вариант вызова Crystal с прямым экспортом спрашиваю Потом малопонятно какие опции надо дать для 11 версии если все написано для 6 - 9 Результат то разный А ПО поиску мы и сами полазили ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|

start [/forum/topic.php?fid=15&mobile=1&tid=1338037]: |
0ms |
get settings: |
9ms |
get forum list: |
17ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
57ms |
get topic data: |
10ms |
get forum data: |
2ms |
get page messages: |
31ms |
get tp. blocked users: |
1ms |
| others: | 212ms |
| total: | 345ms |

| 0 / 0 |
