Search:
Type: Posts; User: Kivju
Search:
Search took 0.07 seconds.
-
October 10th, 2013, 03:32 AM
Victor and Arjay, this solve my problem.
But please, could you explain why XP need this "CoInitialize(NULL);" and WIN 7 not ?
Thanks for help.
-
October 9th, 2013, 05:49 AM
CreateDispatch returning scode = CO_E_NOTINITIALIZED ($800401F0).
-
October 9th, 2013, 03:18 AM
Debugging Win7 and COleDispatchDriver::GreateDispatch returned value = 1 but
same return value in XP is 0
-
October 9th, 2013, 01:44 AM
Registering does not help.
I know something about OLE but normally was very easy to made new project with VC++ and after that add new class -> MFC Class From Typelib.
After choice current type...
-
October 8th, 2013, 11:59 AM
Not start and nothing in Windows event log.
I tried this in two platform (XP) without good result.
Is there some kind toolkit for VC 2010 or cause this error from wrong Framework ?
Probably i...
-
October 8th, 2013, 08:22 AM
I see in Task manager at OLEServer.exe does not start in XP but in Win 7 it starts.
Off course first i call it CreateDispatch.
-
October 8th, 2013, 08:00 AM
Yes, this file exist in XP machine but what you mean registered ?
I can start OLEServer.exe manually and this work like i want.
-
October 8th, 2013, 07:48 AM
Thanks Victor.
Double-backslashes changed to single backslashes but this does not help and like i write this works fine in Win 7.
-
October 8th, 2013, 07:16 AM
Hi,
i made solution which make OLE call.
Call:
oCredentials.CreateDispatch("LTSERVER.LTCREDENTIALS.1");
oCredentials.put_UserName( (LPCTSTR)str_GCUsername );
-
September 10th, 2010, 05:19 AM
Hi !
is an easier way to do next ?
CString CSKRvalue = L"";
CString CSKR1 = L"";
CString CSKR2 = L"";
CString CSKR..............
for(int ie1 = 0; ie1 < m_list_data.GetItemCount(); ie1++)
-
August 8th, 2008, 10:39 AM
I want make custom name to excel sheet because i want change this runtime
CString MyString = L"CustomSheetname";
sSql = "CREATE TABLE MyString (CODE TEXT,......
This doesn't work
-
Thanks,
now this works fine :)
CLabelItem *p1 = (CLabelItem*)elem1;
CLabelItem *p2 = (CLabelItem*)elem2;
int iP1 = _tstoi(p1->CSFistID);
-
I have follwing code:
int __cdecl CompareByLabelID(const void *elem1, const void *elem2)
CLabelItem *p1 = (CLabelItem*)elem1;
CLabelItem *p2 = (CLabelItem*)elem2;
return...
-
September 5th, 2007, 08:54 AM
Now i know and this work
http://www.i18nguy.com/unicode/c-unicode.html
if (wcsstr(pszBuf, _T("Excel")) != 0)
pszBuf = wcschr(pszBuf, '\0') + 1;
:wave: :thumb:
-
September 5th, 2007, 07:35 AM
Thanks, you are so fast.
Please don't get nervous but i made all this changes and get same error
-
September 5th, 2007, 07:20 AM
Thank you for very fast reply !!!!
I change this but next error and line is:
error C2665: 'strstr' : none of the 2 overloads could convert all the argument types
if (strstr(pszBuf, "Excel")...
-
September 5th, 2007, 07:04 AM
Hi, next code doesn't work whith unicode.
debug error:
error C2664: 'SQLGetInstalledDriversW' : cannot convert parameter 1 from 'char [2001]' to 'LPWSTR'
How i fix it ?
char szBuf[2001];
...
-
September 4th, 2007, 08:57 AM
Hi, please tell me better and simple way to do this code:
int aa = 0;
for ( int ii = 0; ii < m_list4.GetItemCount(); ii ++ ){
m_list6.InsertItem(aa, m_list4.GetItemText(ii, 0)); ...
-
November 19th, 2006, 01:48 PM
int aa = 0;
for ( int ii = 0; ii < m_list1.GetItemCount(); ii ++ ){
m_list3.InsertItem(aa, m_list1.GetItemText(ii, 0));
m_list3.SetItemText(aa, 1, m_list1.GetItemText(ii, 1));
...
-
November 19th, 2006, 10:32 AM
Hi,
I don't understand how i do next in listctrl:
There is data in the two listctrls.
Listctrl 1 :
columm 1 | columm 2
1 | work1.1
1 | work1.2
2 | work2.1
-
October 17th, 2006, 08:27 AM
Hi,
I read "data.txt" and max size is 775 kt, about 30 000 items.
I change all this red values
How i can read bigger file ?
Thanks
str_read = "data.txt";
char list[1000000];
-
i'm stupid, could you elaborate ?
-
Is possible make faster query ?
I have follow code and this is slow.
Different system ?
CString Day= "20040524";
CString Period1 ="Other1";
CString Period2 ="Other2";
m_pSet->Close();
-
I'm pleased, at expert look my code.
I do what you recommend.
Thanks again !
-
When click calendar "UUSI KAUSI" application crash.
When call GetCurrentDay() application crash.
Like i say, after reinstalling studio. the above works
'You really have turtles here '
|
Click Here to Expand Forum to Full Width
|