Search Results

Showing results 1 to 38 of 38
Search took 0.01 seconds.
Search: Posts Made By: asifjavaid
Forum: C Jun 16th, 2009
Replies: 8
Views: 801
Posted By asifjavaid
Hi all, Thanks very much for alls participation.
Arkm, yes you are right I can access the contents of void* buf_ptr by doing the following.

void* buf_ptr = NULL;
buf_ptr = malloc(1428480);...
Forum: C Jun 11th, 2009
Replies: 8
Views: 801
Posted By asifjavaid
Hi all,
I working in VC++. I have a void pointer. I am assigning a memory block to it using malloc().
void* buf_ptr = NULL;
buf_ptr = malloc(1428480);

I am filling this buffer using fread()....
Forum: C++ Mar 20th, 2009
Replies: 1
Views: 350
Posted By asifjavaid
Hi,

I have a file of approximately 4.19GB. I want to get the totall size of file using code in VC++, Here is my code

FILE *fptrSampleVideo = fopen(filename,"rb+");

if(fptrSampleVideo)
{
...
Forum: C++ Jan 28th, 2009
Replies: 2
Views: 1,331
Posted By asifjavaid
Hi,



I am in problem. I have written some code in VC++.NET 2008. It is using third part AMT SDK. It is using file handling of C using fopen() function. The file are opened in binary mode (rb)....
Forum: C++ Dec 12th, 2008
Replies: 1
Views: 461
Posted By asifjavaid
Hi,

I have an application which is currently in VC++.NET 2003. It is using two static libraries,

1. mfc71d.lib
2. wsock32.lib.

Now I want to convert this application in VC++.NET 2005. But...
Forum: C++ Dec 5th, 2008
Replies: 4
Views: 538
Posted By asifjavaid
Hi,

These links are for C#.NET. I need to know the COM Programming in C++.NET 2005
Forum: C++ Dec 5th, 2008
Replies: 4
Views: 538
Posted By asifjavaid
Hi,

I am new to COM Programming.

I want to initialize COM library. I am calling

hr = CoInitializeEX(NULL);

but hr = S_FAIL. and my code is stopped.
Forum: C++ Nov 10th, 2008
Replies: 4
Views: 497
Posted By asifjavaid
Thanks a lot.
Ancient Dragon. you have solved my problem. I have register the required dll and now its working perfectly.

--
Regards,
Asif
Forum: C++ Nov 7th, 2008
Replies: 4
Views: 497
Posted By asifjavaid
Hi,

Cryptographer is a namespace. and it has different structs and classes. TMMPlayerHelper is declared as struct in this namespace.

I did not perform any registration step because i did not...
Forum: C++ Nov 7th, 2008
Replies: 5
Views: 409
Posted By asifjavaid
hi,

your mistake is here,


void printPopulations(double startPop, double birthRate, double deathRate, int numYears)
{

for ( int i = 0 ; i < numYears ; i++ )
{
Forum: C++ Nov 7th, 2008
Replies: 2
Views: 657
Posted By asifjavaid
hi
which tool or language you using now.

In VC++.NET or C#,VB, there is property "SelectedItems" which returns a collection(array) of currently selected items.


--
Regards,
Asif
Forum: C++ Nov 7th, 2008
Replies: 8
Views: 491
Posted By asifjavaid
Hi,

Please write the body of move function before bDisplay() function. Your mistake is that
You are calling the move() function before, but you are defining its body after your calling...
Forum: C++ Nov 7th, 2008
Replies: 3
Views: 782
Posted By asifjavaid
Hi,

There are two modes of programming in Borland C++.

1. text mode
2. graphics mode.

In text mode, we have 80 columns and 50 rows in windows xp but in graphics mode, we have 640 columns...
Forum: C++ Nov 7th, 2008
Replies: 4
Views: 497
Posted By asifjavaid
Hi,

I working on COM Components in VC++.NET 2005,


HRESULT hr = spCrypt.CoCreateInstance(__uuidof(Cryptographer::TMMPlayerHelper), 0);
if( FAILED(hr) )
spCrypt = 0;

I am...
Forum: C++ Oct 31st, 2008
Replies: 1
Views: 293
Posted By asifjavaid
I have make a win32 dll in VC++.NET 2005. It contains a simple add funtion.

I have also make a console client application in VC++.NET 2005.
how can i access that add function in my client...
Forum: C++ Oct 31st, 2008
Replies: 1
Views: 1,647
Posted By asifjavaid
Hi sir,


I am making a win32 dll in VC++.NET 2005. I make an add funtion in it and then i call it from C# using System.Runtime.InteropServices;

[DllImport("MXFWrapperMarvel.dll", EntryPoint =...
Forum: C++ Oct 22nd, 2008
Replies: 2
Views: 1,384
Posted By asifjavaid
Hi all guys,

I am using MS VC++.NET 2003
I have also installed MS VS++2005 and 2008 on the same computer.

Now when I ran the previous programs which are programed in VC++2003, now I am facing...
Forum: C++ Sep 29th, 2008
Replies: 0
Views: 389
Posted By asifjavaid
Hi guys,

Hope you are fine by all means.

I am developing a video plugin in VC++.NET by using directshow filters. My software is getting input of wmv file and it will be uncompressed generating...
Forum: C Sep 24th, 2008
Replies: 4
Views: 1,518
Posted By asifjavaid
hi guys,

working in C using Borland Compiler we can get scan codes of keyboards keys by this code


ch = getch();
if (ch == 0)
ch = getch();

printf("%d",ch);
Forum: C++ Sep 24th, 2008
Replies: 2
Views: 1,200
Posted By asifjavaid
hi guys,

i have declared a char pointer. i am using this in itoa() function to convert integer data into hex data e.g
char * hexData= NULL;
itoa(1484820,hexData,16);
this...
Forum: C# Sep 24th, 2008
Replies: 1
Views: 1,727
Posted By asifjavaid
hi guys,

I want to call win32 dll in C#. It has parameters encode(char *argv[]).

what i have to write in in C# in the placa of char *argv[]. I have make my efforts see my code below but vain....
Forum: C++ Sep 19th, 2008
Replies: 8
Views: 736
Posted By asifjavaid
Hi your code is absolutely right. It is working correctly I have tested it. Well I think your calling is not correct.

currnode->contact).print; //this is not correct



...
Forum: C++ Sep 19th, 2008
Replies: 8
Views: 1,934
Posted By asifjavaid
Well hurrah! Ancient Dragon sir you great, Thanks for you good help. I have solved my problem. Many Many.thanks
Forum: C++ Sep 19th, 2008
Replies: 8
Views: 1,934
Posted By asifjavaid
Well sir hurrah! this is now works for me

vt->bstrVal = SysAllocString(L"Video.bin");



But sir another issue now comes that after successfull comiplation of my code when it executing the...
Forum: C++ Sep 19th, 2008
Replies: 8
Views: 1,934
Posted By asifjavaid
yup sir again it was my spelling mistake and now 1st error is removed but still 2nd error comes. It is saying about const OLECHAR *.... see

TestingDirectShowManually.cpp(312) : error C2664:...
Forum: C++ Sep 19th, 2008
Replies: 8
Views: 1,934
Posted By asifjavaid
Yup sorry sir that was my spelling mistake. But now here is another compile response...

error C2039: 'bstr_val' : is not a member of 'tagVARIANT'
: see declaration of 'tagVARIANT'...
Forum: C++ Sep 19th, 2008
Replies: 8
Views: 1,934
Posted By asifjavaid
Thank you so much for reply,

I which header file this function is sysAllocString() resides? Now the compiler gives me the following error.
'SysAllocateString': identifier not found, even with...
Forum: C++ Sep 19th, 2008
Replies: 8
Views: 1,934
Posted By asifjavaid
Hi fellows,

How can I set a value of any type in VARIANT const pointer? I am tried my best but vain. I am facing compile time error.

Here is sample code


VARIANT *v=NULL;
...
Forum: C Sep 9th, 2008
Replies: 11
Views: 4,915
Posted By asifjavaid
Sir I want to do ti actually because I am professional Software Engineer working in a software house and currently this is my requirement, but i am stuck here. Many thanks

Asif Javaid
Forum: C Sep 9th, 2008
Replies: 11
Views: 4,915
Posted By asifjavaid
hi sir,

my problem is that

I have an integer value e.g. 1428480.
first I have to convert it into hexa decimal format ---------> 0x15cc00.
convert the resultant hexa format data into little...
Forum: C Sep 9th, 2008
Replies: 11
Views: 4,915
Posted By asifjavaid
Well sir I understand you and did exactly what you said but still it is in problem see my whole code below

int sample_size = 720*496*4;
char *buffer = buffer = new char[8];
char *hexValue;...
Forum: C Sep 9th, 2008
Replies: 11
Views: 4,915
Posted By asifjavaid
>Of course, atoi() converts the leading zero for you.
>Skip "0x" then use strtol() function.
>It's so easy...

well sir many thanks for respoonce

my problem is that I dont want to skip "0x"...
Forum: C Sep 9th, 2008
Replies: 11
Views: 4,915
Posted By asifjavaid
hi all,

I want to convert a string contain hex format '0x15' and what to convert it integer because i want to write data contain by a integer variable in hex format (binary data) into the file.
...
Forum: C++ Sep 8th, 2008
Replies: 1
Views: 462
Posted By asifjavaid
Hi all :) ,
I am working on video plug-in in C++.NET. I have a video file. Its size is not fixed. It can be in MBs or GBs. I have calculated sample size and sample count of video file and now I...
Forum: C# May 2nd, 2007
Replies: 3
Views: 10,996
Posted By asifjavaid
hi guys ,
hope you are all fine.

i want to created MS word doc file to pdf file converter in MS Visual Studio 2005..
can any one help me what will be the procedure to develop such a thing?
...
Forum: MS SQL Oct 19th, 2006
Replies: 0
Views: 4,395
Posted By asifjavaid
Hi all,
God Bless U,
Thursday, October 19, 2006
first i am writing the my problem again......:!:

i am facing a problem in SQL Server. I am have a table given below.....
Forum: MS SQL Oct 19th, 2006
Replies: 2
Views: 4,936
Posted By asifjavaid
***********************************************************
***********************************************************
***********************************************************
date :-...
Forum: MS SQL Oct 18th, 2006
Replies: 2
Views: 4,936
Posted By asifjavaid
Hi all,:confused:
God Bless U,
i am facing a problem in SQL Server. I am have a table given below..
------------------------------------------------
Table name is "A"...
Showing results 1 to 38 of 38

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC