|
zon_cpp wrote: when i free memory end of loop, is freed memory all of the 256 bytes?
Yes.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Hi all,
I have the following structure and piece of code:
typedef struct
#ifdef SAPonOS400
RFC_ERROR_INFO_EX
#endif
{
RFC_ERROR_GROUP group;
RFC_CHAR key[33];
RFC_CHAR message[513];
}
RFC_ERROR_INFO_EX;
RFC_ERROR_INFO_EX * error_info;
RfcLastErrorEx(error_info);
But then I receive this error:
Run-Time Check Failure #3 - The variable 'error_info' is being used without
being defined.
I know what it means but, don't know how to fix it, please help.
Many thanx
Regards,
The only programmers that are better than C programmers are those who code in 1's and 0's.....
Programm3r
My Blog: ^_^
|
|
|
|
|
what about this :
RFC_ERROR_INFO_EX* error_info <code>= NULL</code>;
|
|
|
|
|
Wont work ...
Error:
Unhandled exception at 0x77c47631 in RFC Testing App.exe: 0xC0000005: Access violation writing location 0x00000000.
Regards,
The only programmers that are better than C programmers are those who code in 1's and 0's.....
Programm3r
My Blog: ^_^
|
|
|
|
|
|
Programm3r wrote: RFC_ERROR_INFO_EX * error_info;RfcLastErrorEx(error_info);
Modify this to,
RFC_ERROR_INFO_EX error_info;
RfcLastErrorEx(&error_info);
|
|
|
|
|
|
Isn't this answered here[^] ?
|
|
|
|
|
Yes it would seem to be, but you and me, properly posted the thread at the same time, it took me a couple of seconds to realize my mistake. So when i posted my thread there was no response.
Regards,
The only programmers that are better than C programmers are those who code in 1's and 0's.....
Programm3r
My Blog: ^_^
|
|
|
|
|
Programm3r wrote: So when i posted my thread there was no response.
It happens to me lot of times , while posting replies. So, usually, I do refresh forum page in separate browser window, before finally posting it. Its very likely, while you type your post, somebody post same/simlar answer.
|
|
|
|
|
|
custom url handler in MS Word kamPooh Just posted
Hi,
I register a custom url handler (abc://) in registery in HKEY_CLASSES_ROOT,
it can now work in IE if I type "abc://example" in IE URL,
it activate my stuff, but if I paste the url into MSWord,
it won't highlight as other url link. What else should I
perform in order to get my custom link highlighted in MSWord ?
Thanks
|
|
|
|
|
Hi all,
Any tutorials on Ownerdraw for List view control ...
Manjunath S
GESL
Bangalore
|
|
|
|
|
|
some samples are developed using .NET
I want help in win32 for Owner draw for Listview
Manjunath S
GESL
Bangalore
|
|
|
|
|
Manjunath S wrote: I want help in win32 for Owner draw for Listview
You mean not using MFC ?
|
|
|
|
|
In need in win32,
If any tutorials in mfc,may also help
Manjunath S
GESL
Bangalore
|
|
|
|
|
I'm not sure what you are expecting by mean of tutorial.
But, list control[^] section might be helpful to you by some mean.
|
|
|
|
|
i am not able to use ::CommandLineToArgvW in EVC while the samething worked in VC . I have included the necessary shellapi.h and shell32.lib ,but am still getting errors like ,
error C2039: 'CommandLineToArgvW' : is not a member of '`global namespace''
error C2065: 'CommandLineToArgvW' : undeclared identifier
error C2440: 'initializing' : cannot convert from 'int' to 'unsigned short ** '
|
|
|
|
|
remove the prepended :: then
|
|
|
|
|
i tried removing :: too but only the globalnamespace error would be solved .
|
|
|
|
|
please show how you're calling it
|
|
|
|
|
i am getting INVALID_HANDLE_VALUE for the following code . can anyone help me ?
This wszFileName is passed as argument to a function B(which calls CreateFile ) from A ,which is being declared as WCHAR wszFileName[256] in the function A and wszFileName is of type wchar_t* in function B.
HANDLE hFile = CreateFile(wszFileName, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, 0, NULL);
-- modified at 6:36 Tuesday 27th March, 2007
|
|
|
|
|
toxcct wrote: please show how you're calling it
She is using EVC, where this function is not present. Already asked in the morning from same user/id[^] .
|
|
|
|
|
prasad_som wrote: Already asked in the morning
yes, i've just saw your reply sorry for that, i've been absent for a while (since friday !!! lol).
|
|
|
|